; ================================================================
; ===== 99snake.asm ==============================================
; ===== Snake and Maze ===========================================

Start:
	MOV	AL,FF	; Special code to reset the snake.
	OUT	04	; Send AL to port 04 to control the snake.

	MOV	AL,4F	; 4 means DOWN.  F means 15.

			; Send 4F to the snake
	MOV	CL,A
Down:	
	OUT	04
	DEC	CL
	JNZ	Down
	
	MOV	AL,1F
	MOV	CL,3
Right:
	OUT	04
	DEC	CL
	JNZ	Right
Up:
	MOV	AL,8F
	MOV	CL,4
	END
; ================================================================